package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * APP已发布文章内容表
 * @TableName ap_article_content
 */
@ApiModel(description = "APP已发布文章内容表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value ="ap_article_content")
public class ApArticleContent {
    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 文章ID
     */
    @ApiModelProperty("文章ID")
    private Long articleId;

    /**
     * 文章内容
     */
    @ApiModelProperty("文章内容")
    private String content;

}